package com.aptech.daos;

/**
 * AbstractOrderDetails entity provides the base persistence definition of the
 * OrderDetails entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractOrderDetails implements java.io.Serializable {

	// Fields

	private OrderDetailsId id;
	private Double unitPrice;
	private Short quantity;
	private Long total;

	// Constructors

	/** default constructor */
	public AbstractOrderDetails() {
	}

	/** full constructor */
	public AbstractOrderDetails(OrderDetailsId id, Double unitPrice,
			Short quantity, Long total) {
		this.id = id;
		this.unitPrice = unitPrice;
		this.quantity = quantity;
		this.total = total;
	}

	// Property accessors

	public OrderDetailsId getId() {
		return this.id;
	}

	public void setId(OrderDetailsId id) {
		this.id = id;
	}

	public Double getUnitPrice() {
		return this.unitPrice;
	}

	public void setUnitPrice(Double unitPrice) {
		this.unitPrice = unitPrice;
	}

	public Short getQuantity() {
		return this.quantity;
	}

	public void setQuantity(Short quantity) {
		this.quantity = quantity;
	}

	public Long getTotal() {
		return this.total;
	}

	public void setTotal(Long total) {
		this.total = total;
	}

}